<input type="text" name="<?php echo $ckey;?>" id="picker_<?php echo $ckey;?>" req="<?php echo $request;?>" value="<?php if (!empty($originval)):?><?php echo $originval;?><?php endif;?>">
<script type="text/javascript">
    var config = {showAnim:'drop',dateFormat:'yy-mm-dd',changeMonth:true,changeYear: true,
        monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]};
    $('#picker_<?php echo $ckey;?>').datepicker(config);
</script>